programming4us
           
 
 
Applications Server

Exchange Server 2010 : Manage Outlook Client Access (part 2) - Configure Automatic Client Configuration & Configure Access for Third-Party Clients

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
7/14/2011 11:30:34 AM

2. Configure Automatic Client Configuration

Starting in Exchange Server 2007, email clients were given the ability to automatically configure their mail profiles. Before this time, the configuration of Outlook and mobile devices was a manual process. To accomplish automatic configuration, Exchange provides a service called AutoDiscover. The job of AutoDiscover is to provide an XML file to the email client that contains all the information it needs to connect to Exchange.

There are two ways that clients connect to AutoDiscover. If the client is coming from the internal network, it uses Active Directory to find the server it should talk to in order to get the client configuration data. On the other hand, if the client is coming from the Internet, it uses DNS to determine which server to get the AutoDiscover data from.

AutoDiscover runs as an IIS virtual directory on the Client Access server. The AutoDiscover virtual directory is installed and configured by default when the Client Access server is installed. Also, Active Directory is updated with the correct AutoDiscover service location information when the CAS is installed.

2.1. Understand AutoDiscover for Outlook Anywhere

When clients access email through Outlook Anywhere, AutoDiscover helps alleviate configuration problems by configuring the Outlook client automatically. To access the AutoDiscover service, the external user provides their email address and password and the AutoDiscover server is found using external DNS lookups.

Once the AutoDiscover server is found, the client uses SSL to exchange information with the server. To ensure that this is successful, your clients need to trust the certificate authority that issued the SSL certification that your CAS is using. Because of this requirement, you will not be able to use the self-signed certificate issued by the CAS during install, unless the client trusts the certificate.

2.2. Configure a DNS SRV Record for AutoDiscover

Outlook 2007 clients were initially created with the ability to choose from predefined URLs when discovering the AutoDiscover service. These early methods required some additional planning and cost for organizations implementing AutoDiscover. A later enhancement to Outlook allowed Outlook to query an SRV locator record in DNS for the AutoDiscover service. If Outlook has trouble obtaining information from the predefined URLs, it tries the SRV record.

NOTE

A service locator (SRV) record in DNS is a DNS entry that provides information about a network service instead of a name or IP address resolution. The SRV record can return information such as which host the service is running on, which port it is listening on, and the weighting and priority of the servers hosting the services.

To configure the SRV record for AutoDiscover on a Windows-based DNS server, you will need to use the DNS Manager tool. The SRV locator record should contain the information shown in Table 1:

Table 1. SRV Record Information for AutoDiscover
SettingValue
Service_autodiscover
Protocol_tcp
Port Number443
HostsExternal FQDNs that AutoDiscover provides

To configure the SRV record on a Windows DNS server:

  1. Open the DNS Manager tool by clicking Start => All Programs => Administrative Tools => DNS.

  2. In the Console tree, browse to the zone that represents the SMTP domain name used in the email address. For example, if the email address is [email protected], you need to find the contoso.com forward lookup zone.

  3. After you browse to the zone, click the Action menu in the DNS Manager snap-in and select New Other Records from the menu.

  4. The Resource Record Type window will appear and allow you to define which type of record you want to create.

  5. Scroll down in the list and select Service Location (SRV) from the list of available record types. Then click the Create Record button.

  6. In the New Resource Record dialog, type

    _autodiscover
    in the service field,
    _tcp
    in the protocol field, and
    443
    in the port field.

  7. In the field Host Offering This Service, type the name of the server that will provide AutoDiscover services, such as mail.contoso.com. Figure 1 shows how the DNS record should be configured.

  8. Click OK to create the record. Then click Done when you are back in the Resource Record Type dialog box.

2.3. Test AutoDiscover Configuration in the Exchange Management Shell

The Exchange Management Shell provides a command that you can use to test the configuration of AutoDiscover. You can run the Test-OutlookWebServices command to determine if any issues exist with AutoDiscover and report what those issues are. To run the test, you must specify an email address that AutoDiscover is run against.

Figure 5.11. Creating the SRV record for AutoDiscover

The report that is generated by the test is a line-by-line printout of the service information that should have been received. The test will report successes and failures and give you enough information to start troubleshooting AutoDiscover issues. The following example demonstrates the use of the Test-OutlookWebServices command:

Test-OutlookWebServices [email protected]

3. Configure Access for Third-Party Clients

Exchange supports not only Outlook clients, but also other third-party clients that use the POP3 or IMAP4 protocols instead of MAPI. There are many reasons why MAPI would be the preferred client solution, but many clients have limited options and must use POP3 or IMAP4.

POP3 was designed to be an offline email protocol. When you use POP3, the default configuration is to download messages from the server to the client and remove the messages from the server. This places the burden of managing and backing up email on the end user.

IMAP4 is more robust than POP3. IMAP4 was designed to access mail both online and offline. IMAP4 also has some additional advantages over POP3, such as the ability to access public folders.

To allow clients to connect to Exchange using POP3 or IMAP4, you'll need to follow these high-level steps:

  1. Enable the services.

  2. Turn on access for the user explicitly.

  3. Ensure that users can access mail via one of the protocols.

3.1. Enable the POP3 and IMAP4 Service

The POP3 and IMAP4 services are disabled by default in Exchange 2007. To turn them on, you need to set the service to the Automatic state. You can do this in either the Services MMC snap-in or the Exchange Management Shell.

To enable POP3 or IMAP4 using the Services MMC snap-in:

  1. Open the Services snap-in by clicking Start => All Programs => Administrative Tools => Services.

  2. In the Services snap-in, select either the Microsoft Exchange IMAP4 or the Microsoft Exchange POP3 service, depending on whether you want to enable IMAP4 or POP3 connections.

  3. Double-click on the service to bring up its properties dialog box. In the Startup Type section, change the setting to Automatic and then click OK.

  4. Back in the list of services, right-click on the service and select the Start option from the menu.

To enable the service in the EMS, you can use the Set-Service command to configure the service, followed by the Start-Service command to start the service. The following EMS commands will enable the IMAP4 service:

Set-Service MSExchangeIMAP4 -StartupType automatic
Start-Service MSExchangeIMAP4

3.2. Turn On POP3 and IMAP4 for Users

After you have enabled the POP3 or IMAP4 service, you need to allow users to access their mail using those protocols. To enable POP3 or IMAP4 for individual users using the EMC:

  1. Open the EMC and browse to the Recipient Configuration => Mailbox node.

  2. Select the mailbox that you want to enable POP3 or IMAP4 access for and click the Properties option in the Actions pane on the right.

  3. In the properties dialog box for the mailbox, click the Mailbox Features tab.

  4. In the list of mailbox features, select either the POP3 or IMAP4 feature and click the Enable button above the feature list. This will enable access through this protocol.

  5. Click OK to make the changes and close the properties dialog box.

To configure POP3 or IMAP4 access using the EMS, you can use the Set-CASMailbox command. For configuring POP3, use the PopEnabled parameter, and for IMAP4, use the ImapEnabled parameter. The following example turns on both POP3 and IMAP4 access for the John Smith mailbox:

Set-CASMailbox "John Smith" -PopEnabled $true 

-ImapEnabled $true

3.3. Use Certificates with POP3 and IMAP4

You can use SSL with your POP3 and IMAP4 deployment to make it more secure. By default, POP3 and IMAP4 are installed using the self-signed certificate generated by Exchange. If you want your users to be able to access email over POP3 or IMAP4 from outside your organization using SSL, you need a certificate issued by a certificate authority (CA) that is trusted by your clients. Therefore, you should install a certificate obtained from a trusted CA. You then need to modify the POP3 or IMAP4 parameter to tell it to use the trusted certificate instead of the default self-signed certificate.

To modify the certificate used in the EMC:

  1. Open the EMC and browse to the Server Configuration => Client Access node in the Console tree.

  2. Click the POP3 And IMAP4 tab.

  3. Select either POP3 or IMAP4 from the protocol list and click the Properties option in the Actions pane.

  4. In the properties dialog box, click on the Authentication tab.

  5. In the field X.509 Certificate Name, enter the subject name of the certificate—for example, mail.contoso.com.

  6. Click OK to make the changes and close the properties dialog box.

To set the certificate name using the EMS, you will use either the Set-PopSettings command or the Set-ImapSettings command. Specify the x509CertificateName parameter followed by the subject name of the certificate. The following example sets the IMAP4 certificate for Contoso:

Set-ImapSettings -x509CertificateName mail.contoso.com
Other -----------------
- Understanding and Installing Active Directory Rights Management Services (part 3)
- Understanding and Installing Active Directory Rights Management Services (part 2) - Installation Procedure
- Understanding and Installing Active Directory Rights Management Services (part 1) - Understanding AD RMS
- Microsoft Dynamics GP 2010 : Populating Initial Data - Open receivables transactions
- Microsoft Dynamics GP 2010 : Populating Initial Data - Customers
- Exchange Server 2010 : Manage Access for Mobile Devices (part 4) - Monitor Mobile Device Usage
- Exchange Server 2010 : Manage Access for Mobile Devices (part 3) - Protect Mobile Devices
- Exchange Server 2010 : Manage Access for Mobile Devices (part 2) - Manage Mobile Device Features and Settings
- Exchange Server 2010 : Manage Access for Mobile Devices (part 1) - Configure Mobile Device Connectivity
- Exchange Server 2010 : Manage Web-Based Email Access (part 2) - Configure OWA Features
- Exchange Server 2010 : Manage Web-Based Email Access (part 1) - Configure OWA URLs
- Exchange Server 2003 : Configuring Interoperability with Other SMTP Messaging Systems
- Exchange Server 2003 : Configuring SMTP Security and Advanced Options
- BizTalk Server 2006 Operations : Maintaining the BizTalk Group (part 3) - Restore Procedures
- BizTalk Server 2006 Operations : Maintaining the BizTalk Group (part 2) - Backup Procedures
- BizTalk Server 2006 Operations : Maintaining the BizTalk Group (part 1) - SQL Agent Job Configuration
- BizTalk Server 2006 Operations : Configuration and Management
- Exchange Server 2003 : SMTP Protocol Configuration and Management - Managing SMTP Message Transfer Support
- Exchange Server 2003 : Virtual Servers - Configuring Authentication
- Exchange Server 2003 : Configuring Virtual Server Settings
 
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
- First look: Apple Watch

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
programming4us programming4us